//
//  LHNetWorking.h
//  CurbApp
//
//  Created by LH on 16/6/20.
//  Copyright © 2016年 LH. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^SuccessBlock)(id reponsObject);
typedef void  (^FailBlock)(id responsObject);

typedef void (^GSuccessBlock)(id gReponsObject);
typedef void  (^GFailBlock)(id errer);

@interface LHNetWorking : NSObject
/**
 * 下载验证
 *
 * @param 字典类型参数
 * @param 成功回调
 * @param 失败回调
 */
+ (void)getDownloadValidation:(id)parmas whileSuccess:(SuccessBlock)successBlock orFail:(FailBlock)failBlock;

/**
 * 登录请求
 *
 * @param 字典类型参数
 * @param 成功回调
 * @param 失败回调
 */
+ (void)getLoginRequest:(id)parmas whileSuccess:(SuccessBlock)successBlock orFail:(FailBlock)failBlock;
@end
